@charset "utf-8";

body{
    margin: 0 340px;
    padding-top: 20px;
}

input[type=text], input[type=email]{
    border: none;
    border-bottom: 1px solid black;
    font-style: italic;
}

.message {
    margin-bottom: 16px;
    padding: 3px;
    border: 1px solid white;
}

.message:hover{
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: 1px solid green;
}

.message > .header{
    padding: 0 5px;
}
.message > .header > * {
    display: inline;
    margin-left: 8px;
}

.message > .header > datetime{
    margin-left: 100px;
    margin-right: 0;
}

.message > .content{
    font-size: x-large;
    padding: 13px 0;
    line-height: 25px;
    white-space: pre-wrap;
    /*word-wrap: normal;*/
    /*white-space-collapse: preserve;*/
}

.header > .name{
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background-color: gray;
    padding-right: 3px;
    padding-left: 3px;
    color: white;
    letter-spacing: 1px;
}

.header > .email{
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    background-color: blue;
    padding-right: 3px;
    padding-left: 3px;
    color: white;
    letter-spacing: 1px;
}

.header > .email:before{
    content: "@";
    color: white;
    font-weight: 200;
    padding: 2px;
    border-right: 1px dotted gray;
    margin-right: 3px;
    line-height: inherit;
}

.email:before:hover{text-decoration: none}

.action{visibility: hidden}
.message:hover .action{visibility: visible}

.message > .content:before{
    font-size: large;
    content: "";
    display: inline;
}
img{
    max-height: 300px; 
    max-width: 300px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    cursor:pointer;
}

img:focus {max-width: 900px; max-height: 900px;}